package com.yty.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author yegang
 * @since 2022-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AccountInfo对象", description="")
public class AccountInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "户主姓名")
    private String accountName;

    @ApiModelProperty(value = "银行卡号")
    private String accountNo;

    @ApiModelProperty(value = "帐户密码")
    private String accountPassword;

    @ApiModelProperty(value = "帐户余额")
    private BigDecimal accountBalance;

    @TableField(exist = false)
    private String txNo;
    @TableField(exist = false)
    private BigDecimal amount;
}
